﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/admin.Master" Inherits="System.Web.Mvc.ViewPage<VERKProjectHopur16.Models.Child>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	RemoveChild
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>RemoveChild</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">ChildID</div>
        <div class="display-field"><%: Model.ChildID %></div>
        
        <div class="display-label">Name</div>
        <div class="display-field"><%: Model.Name %></div>
        
        <div class="display-label">BirthDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.BirthDate) %></div>
        
        <div class="display-label">About</div>
        <div class="display-field"><%: Model.About %></div>
        
        <div class="display-label">CreatorID</div>
        <div class="display-field"><%: Model.CreatorID %></div>
        
        <div class="display-label">ProfilePassword</div>
        <div class="display-field"><%: Model.ProfilePassword %></div>
        
        <div class="display-label">Created</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.Created) %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%: Html.ActionLink("Back", "AllChild") %>
        </p>
    <% } %>

</asp:Content>

